added event logging for script reboot