Index: trunk/psvideophot/src/dumpvideo.c
===================================================================
--- trunk/psvideophot/src/dumpvideo.c	(revision 32553)
+++ trunk/psvideophot/src/dumpvideo.c	(revision 32556)
@@ -2,4 +2,5 @@
 #include <assert.h>
 #include <pslib.h>
+#include <psmodules.h>
 
 int main (int argc, char **argv) {
@@ -9,4 +10,12 @@
 	exit (2);
     }
+
+    pmConfig *config = pmConfigRead(&argc, argv, NULL);
+    if (config == NULL) {
+        psErrorStackPrint(stderr, "Can't find site configuration!\n");
+        exit(EXIT_FAILURE);
+    }
+
+
 
     char *input   = argv[1];      // Input file name
@@ -19,5 +28,6 @@
     }
 
-    psFits *infile = psFitsOpen (input, "r"); // Input file
+    psString inputResolved = pmConfigConvertFilename(input, config, false, false);
+    psFits *infile = psFitsOpen (inputResolved, "r"); // Input file
     if (!infile) {
         fprintf (stderr, "Unable to open input file %s", input);
@@ -25,5 +35,6 @@
     }
 
-    psFits *outfile = psFitsOpen (output, "w"); // Output file
+    psString outputResolved = pmConfigConvertFilename(output, config, true, true);
+    psFits *outfile = psFitsOpen (outputResolved, "w"); // Output file
     if (!outfile) {
         fprintf (stderr, "Unable to open output file %s", output);
