changes to run ocr on windows