Amended index.php