added support for maintenance page