BASE: respond to plugin commands in query

fixes #22