added condition for .batscript