discover command support, plugin support

ok