clean up index.php