Clean version checking
Merge pull request #6 from Judeuros/master

Cleaner version checking