Add script for manually applying patches