Improved the verify batch file

to run on other environments.