fix to reboot script