Index: palm/trunk/SCRIPTS/NCL/cross_sections.ncl
===================================================================
--- palm/trunk/SCRIPTS/NCL/cross_sections.ncl	(revision 2563)
+++ palm/trunk/SCRIPTS/NCL/cross_sections.ncl	(revision 2837)
@@ -41,27 +41,20 @@
 ; load .ncl.config or .ncl.config.default
 ;***************************************************
-   
-file_name ="$PALM_BIN/../../.ncl.config"
-existing_file = file_exists(ncl_version_ch,file_name)
-
+
+existing_file = file_exists(ncl_version_ch,file_config)
 if (existing_file) then
-   loadscript("$PALM_BIN/../../.ncl.config")
+   loadscript(file_config)
 else
-   file_name = "$PALM_BIN/NCL/.ncl.config.default"
-   existing_file = file_exists(ncl_version_ch,file_name)
-   if (existing_file) then
-      loadscript( "$PALM_BIN/NCL/.ncl.config.default")
-   else
-      palm_bin_path = getenv("PALM_BIN")
-      print(" ")
-      print("Neither the personal configuration file '.ncl.config' exists in")
-      print("~/palm/current_version")
-      print("nor the default configuration file '.ncl.config.default' "+\
-            "exists in")
-      print(palm_bin_path + "/NCL")
-      print(" ")
-      exit
-   end if
-end if 
+   palm_bin_path = getenv("PALM_BIN")
+   print(" ")
+   print("Neither the personal configuration file '.ncl.config' exists in")
+   print("~/palm/current_version")
+   print("nor the default configuration file '.ncl.config.default' "+\
+         "exists in")
+   print(palm_bin_path + "/NCL")
+   print(" ")
+   exit
+end if
+
 
 begin
Index: palm/trunk/SCRIPTS/NCL/profiles.ncl
===================================================================
--- palm/trunk/SCRIPTS/NCL/profiles.ncl	(revision 2563)
+++ palm/trunk/SCRIPTS/NCL/profiles.ncl	(revision 2837)
@@ -39,27 +39,19 @@
 ; load .ncl.config or .ncl.config.default
 ;***************************************************
-   
-file_name ="$PALM_BIN/../../.ncl.config"
-existing_file = file_exists(ncl_version_ch,file_name)
-
+
+existing_file = file_exists(ncl_version_ch,file_config)
 if (existing_file) then
-   loadscript("$PALM_BIN/../../.ncl.config")
+   loadscript(file_config)
 else
-   file_name = "$PALM_BIN/NCL/.ncl.config.default"
-   existing_file = file_exists(ncl_version_ch,file_name)
-   if (existing_file) then
-      loadscript( "$PALM_BIN/NCL/.ncl.config.default")
-   else
-      palm_bin_path = getenv("PALM_BIN")
-      print(" ")
-      print("Neither the personal configuration file '.ncl.config' exists in")
-      print("~/palm/current_version")
-      print("nor the default configuration file '.ncl.config.default' "+\
-            "exists in")
-      print(palm_bin_path + "/NCL")
-      print(" ")
-      exit
-   end if
-end if 
+   palm_bin_path = getenv("PALM_BIN")
+   print(" ")
+   print("Neither the personal configuration file '.ncl.config' exists in")
+   print("~/palm/current_version")
+   print("nor the default configuration file '.ncl.config.default' "+\
+         "exists in")
+   print(palm_bin_path + "/NCL")
+   print(" ")
+   exit
+end if
 
     
Index: palm/trunk/SCRIPTS/NCL/spectra.ncl
===================================================================
--- palm/trunk/SCRIPTS/NCL/spectra.ncl	(revision 2563)
+++ palm/trunk/SCRIPTS/NCL/spectra.ncl	(revision 2837)
@@ -39,27 +39,20 @@
 ; load .ncl.config or .ncl.config.default
 ;***************************************************
-   
-file_name ="$PALM_BIN/../../.ncl.config"
-existing_file = file_exists(ncl_version_ch,file_name)
-
+
+existing_file = file_exists(ncl_version_ch,file_config)
 if (existing_file) then
-   loadscript("$PALM_BIN/../../.ncl.config")
+   loadscript(file_config)
 else
-   file_name = "$PALM_BIN/NCL/.ncl.config.default"
-   existing_file = file_exists(ncl_version_ch,file_name)
-   if (existing_file) then
-      loadscript( "$PALM_BIN/NCL/.ncl.config.default")
-   else
-      palm_bin_path = getenv("PALM_BIN")
-      print(" ")
-      print("Neither the personal configuration file '.ncl.config' exists in")
-      print("~/palm/current_version")
-      print("nor the default configuration file '.ncl.config.default' "+\
-            "exists in")
-      print(palm_bin_path + "/NCL")
-      print(" ")
-      exit
-   end if
-end if 
+   palm_bin_path = getenv("PALM_BIN")
+   print(" ")
+   print("Neither the personal configuration file '.ncl.config' exists in")
+   print("~/palm/current_version")
+   print("nor the default configuration file '.ncl.config.default' "+\
+         "exists in")
+   print(palm_bin_path + "/NCL")
+   print(" ")
+   exit
+end if
+
 
 begin
Index: palm/trunk/SCRIPTS/NCL/timeseries.ncl
===================================================================
--- palm/trunk/SCRIPTS/NCL/timeseries.ncl	(revision 2563)
+++ palm/trunk/SCRIPTS/NCL/timeseries.ncl	(revision 2837)
@@ -40,27 +40,20 @@
 ; load .ncl.config or .ncl.config.default
 ;***************************************************
-   
-file_name ="$PALM_BIN/../../.ncl.config"
-existing_file = file_exists(ncl_version_ch,file_name)
-
+
+existing_file = file_exists(ncl_version_ch,file_config)
 if (existing_file) then
-   loadscript("$PALM_BIN/../../.ncl.config")
+   loadscript(file_config)
 else
-   file_name = "$PALM_BIN/NCL/.ncl.config.default"
-   existing_file = file_exists(ncl_version_ch,file_name)
-   if (existing_file) then
-      loadscript( "$PALM_BIN/NCL/.ncl.config.default")
-   else
-      palm_bin_path = getenv("PALM_BIN")
-      print(" ")
-      print("Neither the personal configuration file '.ncl.config' exists in")
-      print("~/palm/current_version")
-      print("nor the default configuration file '.ncl.config.default' "+\
-            "exists in")
-      print(palm_bin_path + "/NCL")
-      print(" ")
-      exit
-   end if
+   palm_bin_path = getenv("PALM_BIN")
+   print(" ")
+   print("Neither the personal configuration file '.ncl.config' exists in")
+   print("~/palm/current_version")
+   print("nor the default configuration file '.ncl.config.default' "+\
+         "exists in")
+   print(palm_bin_path + "/NCL")
+   print(" ")
+   exit
 end if
+
 
 begin
