upadted build.sh