Fixed shutdown and reboot behavior with alias