added reboot check