update versioning mechanism
fix error when installing from non-git repo