Adding door monitor script (flashes LED when switch is open).