tweak build script with Jay's tweaks