Updated index.php file