Index: /trunk/ippScripts/scripts/warp_overlap.pl
===================================================================
--- /trunk/ippScripts/scripts/warp_overlap.pl	(revision 13168)
+++ /trunk/ippScripts/scripts/warp_overlap.pl	(revision 13169)
@@ -56,5 +56,6 @@
 my $missing_tools;
 my $warptool = can_run('warptool') or (warn "Can't find warptool" and $missing_tools = 1);
-#my $overlap = can_run('overlap') or (warn "Can't find overlap" and $missing_tools = 1);
+my $dvoImageOverlaps = can_run('dvoImageOverlaps') or (warp "Can't find dvoImageOverlaps" and $missing_tools = 1);
+my $dvoImageExtract = can_run('dvoImageExtract') or (warp "Can't find dvoImageExtract" and $missing_tools = 1);
 if ($missing_tools) { 
     warn("Can't find required tools.");
@@ -122,5 +123,5 @@
 	
 	# run the dvoImageOverlaps program to get the overlaps with this image 
-	my $command = "dvoImageOverlaps -D CATDIR $tess_dir $psastroFile";
+	my $command = "$dvoImageOverlaps -D CATDIR $tess_dir $psastroFile";
 	my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
 	    run(command => $command, verbose => 1);
@@ -178,5 +179,5 @@
 	    system "mkdir -p $skyDir" unless -d $skyDir;
 	    my $skyFile = File::Spec->catfile( $skyDir , $skycell_id );
-	    my $command = "dvoImageExtract -D CATDIR $tess_dir $skycell_id -o $skyFile";
+	    my $command = "$dvoImageExtract -D CATDIR $tess_dir $skycell_id -o $skyFile";
 	    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
 		run(command => $command, verbose => 1);
