I just added the ICSP port on this schematic here
however, when the programmer powers the circuit from the ICSP (pin1 +5V, pin6 GND) it also polarizes the relay and the bs170. If for some reason the BS170 triggers the relay will start to draw a lot of current straight from the programmer (pickit2, 3 or whatever). Is it a concern? I'd like to avoid a physical switch to isolate the relay from the circuit when in programming mode.