build script tweaks