Clean main.php