configure mercury and pages