Add recipe for the generator
Fix generator recipe.