script to parse versions using all known methods