Index: trunk/ippScripts/scripts/camera_exp.pl
===================================================================
--- trunk/ippScripts/scripts/camera_exp.pl	(revision 25832)
+++ trunk/ippScripts/scripts/camera_exp.pl	(revision 25835)
@@ -354,5 +354,5 @@
 #    $fpaCommand .= " -dtime_addstar $dtime_addstar";
 } else {
-    $fpaCommand .= " -updaterun -state full";
+    $fpaCommand .= " -updaterun -set_state full";
 }
 $fpaCommand .= " -dbname $dbname" if defined $dbname;
Index: trunk/ippScripts/scripts/ipp_cleanup.pl
===================================================================
--- trunk/ippScripts/scripts/ipp_cleanup.pl	(revision 25832)
+++ trunk/ippScripts/scripts/ipp_cleanup.pl	(revision 25835)
@@ -488,5 +488,5 @@
 	# No skycells were found for some reason.
 	# Not technically an "error," but a "you told me to do X, and I can't. Please fix this yourself."
-	my $command = "$stacktool -updaterun -stack_id $stage_id -state $error_state";
+	my $command = "$stacktool -updaterun -stack_id $stage_id -set_state $error_state";
 	$command .= " -dbname $dbname" if defined $dbname;
 	
@@ -561,11 +561,11 @@
 	    my $command = "$stacktool -stack_id $stage_id";
 	    if ($mode eq "goto_purged") {
-		$command .= " -updaterun -state purged";
+		$command .= " -updaterun -set_state purged";
 	    } 
 	    elsif ($mode eq "goto_cleaned") {
-		$command .= " -updaterun -state cleaned";
+		$command .= " -updaterun -set_state cleaned";
 	    }
 	    elsif ($mode eq "goto_scrubbed") {
-		$command .= " -updaterun -state scrubbed";
+		$command .= " -updaterun -set_state scrubbed";
 	    }
 	    $command .= " -dbname $dbname" if defined $dbname;
@@ -589,5 +589,5 @@
 
 	} else {
-	    my $command = "$stacktool -updaterun  -stack_id $stage_id -state $error_state";
+	    my $command = "$stacktool -updaterun  -stack_id $stage_id -set_state $error_state";
 	    $command .= " -dbname $dbname" if defined $dbname;
 	    
@@ -624,5 +624,5 @@
 	# No skycells were found for some reason.
 	# Not technically an "error," but a "you told me to do X, and I can't. Please fix this yourself."
-	my $command = "$difftool -updaterun -diff_id $stage_id -state $error_state";
+	my $command = "$difftool -updaterun -diff_id $stage_id -set_state $error_state";
 	$command .= " -dbname $dbname" if defined $dbname;
 	
@@ -741,5 +741,5 @@
 
 	} else {
-	    my $command = "$difftool -updaterun -diff_id $stage_id -state $error_state";
+	    my $command = "$difftool -updaterun -diff_id $stage_id -set_state $error_state";
 
 	    $command .= " -dbname $dbname" if defined $dbname;
Index: trunk/ippScripts/scripts/stack_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/stack_skycell.pl	(revision 25832)
+++ trunk/ippScripts/scripts/stack_skycell.pl	(revision 25835)
@@ -304,5 +304,5 @@
             $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
         } else {
-            $mode = "-updaterun -state full";
+            $mode = "-updaterun -set_state full";
         }
         $command .= " $mode -stack_id $stack_id";
