Wiring issue with voltage regulator

those look like the original ballast plugs... an ohm meter is helpful in tracing wiring