change build.sh mode