starter relay

This is the relay as i removed it from the firewall. The tag wire going on the (I) is coming from the key switch ( S). The left one ( S) is going to the ground. And there is a diode between the S and I ( pretty sure the diode should be on the S terminal and Ground and the wire from the keyswitch should be on the S terminal.