all changes for using 'patchtool.exe'