ocr script receives param