If you put a diode on the wires come from the low beam and high beams, then you can put both wires onto the relay.