Finalized SLW script for putting systems in maintenance mode.