Add script for patching external projects