Make tmp path configurable via env variable