Index: trunk/ippScripts/scripts/addstar_run.pl
===================================================================
--- trunk/ippScripts/scripts/addstar_run.pl	(revision 34064)
+++ trunk/ippScripts/scripts/addstar_run.pl	(revision 34080)
@@ -261,7 +261,17 @@
 	   
 	    my $realFile = $ipprc->file_resolve($fpaObjects) or  &my_die("Unable to resolve $fpaObjects", $add_id, $PS_EXIT_SYS_ERROR);
-	    
-	    
-	   
+
+	    # most cameras use CHIP_HEADER.  other exceptions:
+	    # gpc1 @ camera : PHU_HEADER
+	    # gpc1 @ staticsky : NOMINAL (is uncalibrated)
+
+	    # temporary hard-wired info
+	    my $zeroPointOption = "CHIP_HEADER";
+	    if (($camdir =~ /gpc1/) && ($stage =~ /staticsky/)) {
+		$zeroPointOption = "NOMINAL";
+	    }		
+	    if (($camdir =~ /gpc1/) && ($stage =~ /cam/)) {
+		$zeroPointOption = "PHU_HEADER";
+	    }		
 
 	    # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default)
@@ -269,4 +279,5 @@
 	    $command .= " -D CAMERA $camdir";
 	    $command .= " -D CATDIR $minidvodb_path";
+	    $command .= " -D ZERO_POINT_OPTION $zeroPointOption";
 	    $command .= " $realFile";
 	    $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference
@@ -275,4 +286,5 @@
 		$command .= " -accept-astrom ";
 	    }  #careful here - this matches staticsky and staticsky_multi
+
 	    my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
 
