Made DB version handling more generic