added derby patch script