Add two scripts for uploading and applying patches.