added scratchpad fetching via http