Index: /branches/eam_branches/ipp-pstamp-20260421/ippScripts/scripts/detrend_stack.pl
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/ippScripts/scripts/detrend_stack.pl	(revision 43054)
+++ /branches/eam_branches/ipp-pstamp-20260421/ippScripts/scripts/detrend_stack.pl	(revision 43055)
@@ -18,5 +18,5 @@
 use PS::IPP::Metadata::Config;
 use PS::IPP::Metadata::List qw( parse_md_list );
-use PS::IPP::Config 1.01 qw( :standard );
+use PS::IPP::Config 1.01 qw( :standard ps_run );
 
 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
@@ -138,5 +138,5 @@
 
     ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
-        run(command => $command, verbose => $verbose);
+        ps_run(command => $command, verbose => $verbose);
     unless ($success) {
         $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
@@ -206,5 +206,5 @@
 unless ($no_op) {
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
-        run(command => $command, verbose => $verbose);
+        ps_run(command => $command, verbose => $verbose);
     unless ($success) {
         $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
@@ -221,5 +221,5 @@
     $command = "$ppStatsFromMetadata $outputStatsReal - DETREND_STACK";
     ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
-        run(command => $command, verbose => $verbose);
+        ps_run(command => $command, verbose => $verbose);
     unless ($success) {
         $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
@@ -245,5 +245,5 @@
 unless ($no_update) {
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
-        run(command => $command, verbose => $verbose);
+        ps_run(command => $command, verbose => $verbose);
     unless ($success) {
         $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
