Some changes to build.sh