Changed the reboot methode.