make the binary suitable as interactive query tool