added reboot and poweroff option