added support for multiple page builds