added support for static pages