changed reboot and shutdown to use shutdown -h and -r