Rename main.php to generate.php