minor bug: TMP variable should TEMP

TMP variable should TEMP, and replaces "/tmp/" "${temp_directory}/"
Merge pull request #75 from mkelderm/master

minor bug: TMP variable should TEMP