Replace current index.php with correct version