Fixed scripts extracting latest versions.
Merge pull request #52 from Cryolite/feature/robust_version_extraction

Fixed scripts extracting latest versions.