Changed main.php