Index: branches/pap/ppSub/src/ppSub.c
===================================================================
--- branches/pap/ppSub/src/ppSub.c	(revision 23690)
+++ branches/pap/ppSub/src/ppSub.c	(revision 23704)
@@ -49,5 +49,7 @@
     }
 
-    if (!ppSubArgumentsSetup(argc, argv, config)) {
+    ppSubData *data = ppSubDataAlloc(); // Processing data
+
+    if (!ppSubArgumentsSetup(argc, argv, config, data)) {
         psErrorStackPrint(stderr, "Error reading arguments.\n");
         exitValue = PS_EXIT_CONFIG_ERROR;
@@ -55,5 +57,5 @@
     }
 
-    if (!ppSubCamera(config)) {
+    if (!ppSubCamera(config, data)) {
         psErrorStackPrint(stderr, "Error setting up camera.\n");
         exitValue = PS_EXIT_CONFIG_ERROR;
@@ -61,11 +63,5 @@
     }
 
-    if (!ppSubArgumentsParse(config)) {
-        psErrorStackPrint(stderr, "Error reading arguments.\n");
-        exitValue = PS_EXIT_CONFIG_ERROR;
-        goto die;
-    }
-
-    if (!ppSubLoop(config)) {
+    if (!ppSubLoop(config, data)) {
         psErrorStackPrint(stderr, "Error performing subtraction.\n");
         exitValue = PS_EXIT_SYS_ERROR;
