Add scratchpad, hquery