find and replace patches automatically