updated rrs_discover_distro
rebased one more time