Removed unnecessary code from index.php