add getresult/getlog commands