Polish shutdown and restart commands