index.php cleanup