BOB: Add lookup command, fix setkeys command