refactoring
multi command for adhoc miner queries