In the batch, can't you just copy the logo, then close the logo image?
Have you looked at the tutorial, there are several methods outilined, if I recall correctly.