Added support for maintenance windows (issue #106)