Edit main.php