modify page.php construct