also think about putting the machinery on some kind of UPS or backup power supply so it can be shut down properly