properly modified index.php