modify main.php