Add a quickly hacked batch mode