added reboot functionality