Fix creating build script