build script corrected