Add script to apply patch