add get_version that uses root-config