cleanup index.php