Index: trunk/pstamp/scripts/pstamp_job_run.pl
===================================================================
--- trunk/pstamp/scripts/pstamp_job_run.pl	(revision 27947)
+++ trunk/pstamp/scripts/pstamp_job_run.pl	(revision 27953)
@@ -89,4 +89,9 @@
     $argString = $params->{job_args};
 
+    # XXX: should we do any other sanity checking?
+    my_die("argument list is empty", $job_id, $PS_EXIT_DATA_ERROR) if !$argString;
+
+    # XXX: remove -astrom from argString and add it here
+
     $argString .= " -file $params->{image}";
     $argString .= " -mask $params->{mask}";
@@ -94,7 +99,4 @@
         $argString .= " -variance $params->{weight}";
     }
-
-    # XXX: should we do any other sanity checking?
-    my_die("argument list is empty", $job_id, $PS_EXIT_DATA_ERROR) if !$argString;
 
     my $command = "$ppstamp $outputBase $argString";
