fixes build script