Index: trunk/ippToPsps/src/Batch.c
===================================================================
--- trunk/ippToPsps/src/Batch.c	(revision 31015)
+++ trunk/ippToPsps/src/Batch.c	(revision 31025)
@@ -88,5 +88,5 @@
 
     // destroy objects
-    this->config->destroy(this->config);
+    this->fitsGenerator->destroy(this->fitsGenerator);
     this->initData->destroy(this->initData);
 
@@ -228,12 +228,7 @@
     }
 
-    // create a Config object
+    // create a FitsGenerator object
     strcat(configsBaseDir, configsDir);
-    this->config = new_Config(configsBaseDir);
-    if (this->config == NULL) {
-
-        this->exitCode = PS_EXIT_CONFIG_ERROR;
-        return false;
-    }
+    this->fitsGenerator = new_FitsGenerator(configsBaseDir);
 
     // create full FITS out path
@@ -318,5 +313,5 @@
     this->inputFiles = NULL;
     this->fitsOut = NULL;
-    this->config = NULL;
+    this->fitsGenerator = NULL;
     this->pmconfig = NULL;
     this->exitCode = PS_EXIT_SUCCESS;
