Returned generate.php to what it was