add generate script
Merge branch 'master' into develop
update generate script