Start the page generation code