Added reboot function