Moved command listener for discover to ago client.