modify genbuild.sh