Fixing reboot script