Created patching script