Index: trunk/ippScripts/scripts/phase2.pl
===================================================================
--- trunk/ippScripts/scripts/phase2.pl	(revision 8716)
+++ trunk/ippScripts/scripts/phase2.pl	(revision 9097)
@@ -18,5 +18,5 @@
 	"Usage: $0 EXP_ID CLASS_ID INPUT.fits OUTPUT_ROOT\n\n";
 }
-my $expId = shift @ARGV;	# Exposure ID
+my $expTag = shift @ARGV;	# Exposure ID
 my $classId = shift @ARGV;	# Class ID
 my $input = shift @ARGV;	# Input FITS file
@@ -65,5 +65,5 @@
     # Command to run dettool
     my $command = "$p2tool -processed";
-    $command .= " -exp_id $expId";
+    $command .= " -exp_tag $expTag";
     $command .= " -class_id $classId";
     $command .= " -recip " . RECIPE;
@@ -77,5 +77,5 @@
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
 	run(command => $command, verbose => 1);
-    die "Unable to perform p2tool -processed for $expId/$classId: $error_code\n"
+    die "Unable to perform p2tool -processed for $expTag/$classId: $error_code\n"
 	if not $success;
 }
