Added code to load new page.