add eBatch function for running system commands sequentially