Even if we drop series=None, we still need the if statement as the series variable is filled with the "comment" from the batch.cfg file, which may be empty. I've not done any testing of it to ensure that if you don't fill in the "comment" that it doesn't break.