Updating index.php file v1.1
Final version of index.php