Added batch mode to increase abbyy performance.