diff --git a/gather-info.sh b/gather-info.sh
new file mode 100755
index 0000000000000000000000000000000000000000..d5b5d6198c66132e12ef12d15b597a2a598f95ed
--- /dev/null
+++ b/gather-info.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+# debug the calling convetion of the script
+echo $@ >> data/call.log
+
+case $1 in
+
+     LIST)
+        # just concat all file list files into a single file
+        # use opt parameter $3 as a tag to label the files
+        cat $2 >> data/listfile-${3}.log
+        rc=0
+        ;;
+
+     TEST)     # Respond with success
+        rc=0
+        ;;
+
+     *)       # Command not supported by this script
+        rc=1
+        ;;
+esac
+exit $rc
diff --git a/policy/list-path-external b/policy/list-path-external
new file mode 100644
index 0000000000000000000000000000000000000000..ff715734b8c3aa0eb5db264b20827753aebbfa5d
--- /dev/null
+++ b/policy/list-path-external
@@ -0,0 +1,27 @@
+/* list of files to include */
+define( include_list,
+  (PATH_NAME LIKE 'FILEPATH%')
+)
+
+/* define access_age */
+define(access_age,
+  (DAYS(CURRENT_TIMESTAMP) - DAYS(ACCESS_TIME))
+)
+
+RULE 'gather-exec' EXTERNAL LIST 'gather-info' EXEC '/data/rc/gpfs-policy/gather-info.sh' OPTS 'JOBID' ESCAPE '%'
+RULE 'list-path' LIST 'gather-info'
+  SHOW ('|size='   || varchar(FILE_SIZE) ||
+        '|kballoc='|| varchar(KB_ALLOCATED) ||
+        '|access=' || varchar(ACCESS_TIME) ||
+        '|create=' || varchar(CREATION_TIME) ||
+        '|modify=' || varchar(MODIFICATION_TIME) ||
+	'|uid='    || varchar(USER_ID) ||
+        '|gid='    || varchar(GROUP_ID) ||
+        '|heat='   || varchar(FILE_HEAT) ||
+        '|pool='   || varchar(POOL_NAME) ||
+        '|mode='   || varchar(MODE) ||
+        '|misc='   || varchar(MISC_ATTRIBUTES) ||
+        '|'
+       )
+  WHERE include_list
+
diff --git a/run-mmpol.sh b/run-mmpol.sh
index 1f1dfeee6fb091adb693ec260a3b8c2679e028cf..a78711b84225403a0fbeb8231037e0bae549f47d 100755
--- a/run-mmpol.sh
+++ b/run-mmpol.sh
@@ -24,6 +24,7 @@ cmd="mmapplypolicy ${filesystem} -I prepare \
   -g $tmpglobal \
   -s $tmpscratch \
   -M FILEPATH=${filesystem} \
+  -M JOBID=${SLURM_JOBID} \
   -N ${nodes} -n ${cores}"
 
 # report final command in job log