Index: trunk/ippToPsps/src/InitBatch.c
===================================================================
--- trunk/ippToPsps/src/InitBatch.c	(revision 30147)
+++ trunk/ippToPsps/src/InitBatch.c	(revision 31011)
@@ -18,5 +18,5 @@
     if (this->base.exitCode != PS_EXIT_SUCCESS) return this->base.exitCode;
 
-    if (!ippToPspsConfig_populateFromFile(this->base.config, this->base.fitsOut)) 
+    if (!this->base.config->populateFromFile(this->base.config, this->base.fitsOut)) 
         this->base.exitCode = PS_EXIT_CONFIG_ERROR;
     else this->base.exitCode = PS_EXIT_SUCCESS;
@@ -34,9 +34,9 @@
 
 /**
-  Reads command-line arguments.  Calls base-calls print method first.
+  Reads command-line arguments.
   */
 static bool parseArguments(InitBatch* this, int argc, char **argv) {
 
-    this->base.parseArguments(&this->base, argc, argv);
+    this->base.parseArguments(&this->base, argc, argv, "/init", "00000000.FITS");
 
     if (
@@ -68,14 +68,10 @@
     }
 
+    // method pointers
     this->print = print;
     this->destroy = destroy;
     this->base.run = run;
 
-    if (!parseArguments(this, *argc, argv)) { return this; }
-
-    strcat(this->base.configsDir, "/init");
-    sprintf(this->base.fitsOutFile, "00000000.FITS");
-
-    this->base.init(&this->base);
+    parseArguments(this, *argc, argv);
 
     return this;
