Adding tmpdir option