updates to build script

updates to build script