added reboot and halt