changing discovery conf file