update generate.sh & README.md