tweaking build.sh script