add adhoc-query cookbook