Setting The Run Mode To Batch