As BGS states, if this is a Briggs engine, coming to the engine connector are two charging wires (may be in smaller connector). One usually red and the other orange, I think. The red one has a diode in line in it. That goes into the connector and circles around to power the headlights (blue...