Updated ocr.py to conform to defaults, args libs and debugged.