mode of build.sh