Nuetral saftey switch

I've just got 1 wire running from my switch on the transmision to my starter relay. When the transmission is in park or neutral the switch is grounding the relay, allowing the starter to turn over.