Memory use

Slightly ugly hack to control memory use in scoop