scope tmp directory too