Updated to include info on shutting down and debug