Cleaned up index.php file