update build.sh and profiles