Index: trunk/ippScripts/scripts/warp_overlap.pl
===================================================================
--- trunk/ippScripts/scripts/warp_overlap.pl	(revision 41539)
+++ trunk/ippScripts/scripts/warp_overlap.pl	(revision 41653)
@@ -125,5 +125,5 @@
     }
 
-    my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept); # List of overlaps
+    my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept,$maxCerror); # List of overlaps
     if (! @matchlist) {
         &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR);
@@ -212,6 +212,6 @@
 
     my $command = "$dvoImageOverlaps -D CATDIR $tess_dir_abs " . $filename;
-    $command .= ' -accept-astrom' if $accept;
-    $command .= ' -D OVERLAPS_MAX_CERROR $maxCerror'; # skip poorly calibrated images from warps
+    $command .= " -accept-astrom" if $accept;
+    $command .= " -D OVERLAPS_MAX_CERROR $maxCerror"; # skip poorly calibrated images from warps
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
         run(command => $command, verbose => $verbose);
@@ -248,5 +248,7 @@
     # Get rid of the path
     my @dirlist = File::Spec->splitdir( $filename ); # The elements of the full path
-    $filename = pop @dirlist;
+    my $filenamecut = pop @dirlist;
+    my @splitlist = split /:/, $filenamecut;
+    $filename = pop @splitlist;
 
     # Work out how to identify this imfile in the output
