Wiring in shadow extraction

WIP: @markhibberd 



Should cluster have this operation `tmpDir`