Removed unneeded code in index.php