Rename variable.
Merge pull request #32 from jordandukart/7.x-woops

Rename variable.
Make the do not generate option for OCR work.
Merge pull request #33 from jordandukart/7.x-fix-ocr-flag

Make the do not generate option for OCR work.