update build.sh and config file