Fixed reboot script