Updated build.sh scripts to make them work from any location