updates to main build script