Add script to apply patchs