Added -V and -cwd options to the batchscript.sh