updates to index.php