adjusted build script