build.sh improvements