The temp directory variable is TEMP_DIR not TEMPDIR.
Merge pull request #8 from hawkinswnaf/withUI

The temp directory variable is TEMP_DIR not TEMPDIR.