Add generate script params and usage document
Merge remote-tracking branch 'origin/master'