Index: trunk/ippScripts/scripts/magic_tree.pl
===================================================================
--- trunk/ippScripts/scripts/magic_tree.pl	(revision 15688)
+++ trunk/ippScripts/scripts/magic_tree.pl	(revision 15689)
@@ -114,5 +114,5 @@
 	&my_die("Unable to get name of skycell file", $magic_id, $PS_EXIT_PROG_ERROR);
     &my_die("Unable to find skycell file", $magic_id, $PS_EXIT_SYS_ERROR) unless
-	$skyfile->exists( $skyfile );
+	$ipprc->file_exists( $skyfile );
 
     my ($header, $status) = Astro::FITS::CFITSIO::fits_read_header( $skyfile );
