diff --git a/NT/tools/sprshd b/NT/tools/sprshd
index 1578fa978e289865e0eb560f5711c76fcf43462a..461698561f3681c26652b33fec379a3252e18910 100755
--- a/NT/tools/sprshd
+++ b/NT/tools/sprshd
@@ -109,8 +109,6 @@ void handle_incoming_connection(object(Stdio.File) io)
   string dir=cmd[0];
   cmd=cmd[1..];
 
-  write("Doing %s in %s\n",cmd*" ",dir);
-
   while(sscanf(cmd[0],"%s=%s",string key, string val))
   {
     // Magic
@@ -144,9 +142,12 @@ void handle_incoming_connection(object(Stdio.File) io)
     {
       env[key]=val;
     }
+    werror("%s = %s\n",key,env[key]);
     cmd=cmd[1..];
   }
 
+  write("Doing %s in %s\n",cmd*" ",dir);
+
   switch(lower_case(cmd[0]))
   {
     case "mkdir":