create genertor script