Function to set maintenance.
Added maintenance command.