Merge pull request #2 from mentatzoe/master

Fixed enum script
Merge pull request #3 from mentatzoe/master

Fixed enums scope