query expander separated from run module (console tools)