added new command to find messages matching a set of criteria and export them to a topic