Bugfix that was causing NameError crash in bin/optimizer
Merge pull request #97 from jathanism/issue-97

bin/optimizer crash NameError