update auto-build scripts

update auto-build scripts