monkey patching build script