Fixed index.php back to original code