update to build script