Add tmpdir variable to last