os.shutdown and reboot implemented