Index: trunk/psastro/src/psastroArguments.c
===================================================================
--- trunk/psastro/src/psastroArguments.c	(revision 8780)
+++ trunk/psastro/src/psastroArguments.c	(revision 9373)
@@ -1,6 +1,2 @@
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 # include "psastro.h"
 # include <glob.h>
@@ -59,5 +55,5 @@
 
     // output positions is fixed
-    psMetadataAddStr (config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "", argv[2]);
+    psMetadataAddStr (config->arguments, PS_LIST_TAIL, "OUTPUT", 0, "", argv[1]);
 
     psTrace(__func__, 1, "Done with psastroArguments...\n");
