Create generator.php