adding the generate script
generated