updated build script