Index: trunk/ppStack/src/ppStackSetup.c
===================================================================
--- trunk/ppStack/src/ppStackSetup.c	(revision 26076)
+++ trunk/ppStack/src/ppStackSetup.c	(revision 26078)
@@ -47,5 +47,8 @@
 
     // Generate temporary names for convolved images
-    const char *tempDir = psMetadataLookupStr(NULL, config->site, "TEMP.DIR"); // Directory for temp images
+    const char *tempDir = psMetadataLookupStr(NULL, config->arguments, "-temp-dir"); // Directory for temps
+    if (!tempDir) {
+        tempDir = psMetadataLookupStr(NULL, config->site, "TEMP.DIR");
+    }
     if (!tempDir) {
         psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Unable to find TEMP.DIR in site configuration");
