adding reboot handler