Amend parseocr.sh for mac