Auto export in batch mode.