Add in maintenance mode calculations