install batch-mode