script : add apply patch script