Let the generate value be set to TRUE or FALSE for batch purposes.
Pass strings not bools.
Merge pull request #49 from jordandukart/7.x-fix-ocr-flag

Let the generate value be set to TRUE or FALSE for batch purposes.