Cleaning up index.php