Make temporary directory configurable