Run away relays when external power applied

As said, get rid of it; you only need it once in setup().