Updated search and rex commands.