bug fix: runCmd - fixed the way the default number of results is taken from configs