changes in the generate script