Added scheduled maint functionality