create directories only on initial run, when in batching mode