started writing batching scripts