add patch script