Better way of getting version numbers