Added a search command, very similar to the listen command.