tweaks to build scripts