Updated build.sh to allow easy updating of variables for package upgrades