Changes to page code