adding the generation script