build script adjusted