Tweaked getversion.py