Index: /branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/detect_query_create
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/detect_query_create	(revision 43122)
+++ /branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/detect_query_create	(revision 43123)
@@ -15,6 +15,6 @@
 my ( $input,			# Name of input text file
      $output,			# Name of output table
-     $query_id, 
-     $nostage,
+     $query_id,                 # overrides QUERY_ID in the input table
+     $nostage,                  # XXX unused
      $version,
      );
@@ -150,5 +150,6 @@
     { name => 'FILTER', type => '20A', writetype => TSTRING },
     { name => 'OBSCODE', type => '20A', writetype => TSTRING },
-    { name => 'STAGE', type => '20A', writetype => TSTRING }
+    { name => 'STAGE', type => '20A', writetype => TSTRING },
+    { name => 'PROJECT', type => '20A', writetype => TSTRING }
     ];
 # Validate the data.
