builds up page.php