Add version check
Merge pull request #4 from dcz/master

Add version check