DOC: changed the way version number is read.