Debugging batch scripts to streamline them