added ocr processing for uploads