Added system shutdown and restart