modifies index.php