require config in batch
moved batch to utils