Adding generate.php to be compatible with Windows