Implemented discover for webclient. Prob. broken cli control.