Edit Main.php