created generate script