Fixed version detection

Fixes #1 and #2
Release v1.0.1
Moving on to version 1.0.2