diff --git a/.gitattributes b/.gitattributes
index c3e9fc9c0fed777d80dd3602c7c7b4197f59f6c9..e83ceca53f1262c4f8708366c03f05ee66d9f358 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -298,14 +298,19 @@ CEP/DP3/AOFlagger/scripts/CMakeLists-root.txt -text
 CEP/DP3/AOFlagger/scripts/distributed/async.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/baseline-slopes.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/collect-baseline.sh -text
+CEP/DP3/AOFlagger/scripts/distributed/collect-eor.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/collect.sh -text
+CEP/DP3/AOFlagger/scripts/distributed/dist-eor.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/killall.sh -text
+CEP/DP3/AOFlagger/scripts/distributed/list-nodes.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/list.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/nodes.txt -text
 CEP/DP3/AOFlagger/scripts/distributed/process.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/progress.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/sets.txt -text
+CEP/DP3/AOFlagger/scripts/distributed/single-eor.sh -text
 CEP/DP3/AOFlagger/scripts/distributed/single.sh -text
+CEP/DP3/AOFlagger/scripts/distributed/statistics.rfis -text
 CEP/DP3/AOFlagger/scripts/package-without-lofarstman.sh -text
 CEP/DP3/AOFlagger/scripts/package.sh -text
 CEP/DP3/AOFlagger/src/CMakeLists.txt -text
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/async.sh b/CEP/DP3/AOFlagger/scripts/distributed/async.sh
index a9173690a35449790f7fcefb799aeabb3f79ae35..e82837edb2f8fa78484d812e5f463df1aee2b21e 100755
--- a/CEP/DP3/AOFlagger/scripts/distributed/async.sh
+++ b/CEP/DP3/AOFlagger/scripts/distributed/async.sh
@@ -3,7 +3,7 @@ echo Killing existing rficonsoles...
 rm out -rvf
 mkdir -p out
 # how many ms per node?
-declare -i CPN=6
+declare -i CPN=20
 declare -i i=1
 declare -i totalms=0
 sets="`cat sets.txt`"
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/collect-eor.sh b/CEP/DP3/AOFlagger/scripts/distributed/collect-eor.sh
new file mode 100755
index 0000000000000000000000000000000000000000..f5c5271c0fea252c1125072aa482e16e8d879bf5
--- /dev/null
+++ b/CEP/DP3/AOFlagger/scripts/distributed/collect-eor.sh
@@ -0,0 +1,34 @@
+#! /bin/bash
+nodes="`cat nodes.txt`"
+mkdir -p out
+declare -i runningcount=0
+declare -i copyingcount=0
+declare -i notrunningcount=0
+for n in ${nodes} ; do
+    runningrfi="`ssh $n -C \"ps aux\"|grep rficonsole|grep ${USER}|grep -v grep|grep -v defun`"
+    if [[ "${runningrfi}" != "" ]] ; then
+	echo -n -e "$n: running "
+	runningcount=${runningcount}+1
+    else
+	runningscp="`ssh $n -C \"ps aux\"|grep scp|grep ${USER}|grep -v grep|grep -v defun`"
+	if [[ "${runningscp}" != "" ]] ; then
+	    copyingcount=${copyingcount}+1
+	    echo -n -e "$n: copying "
+	else
+	    notrunningcount=${notrunningcount}+1
+#	    echo -n -e "$n: NOT running! "
+	fi
+    fi
+    mkdir -p "out/${n}"
+    scp -q "${n}:/data1/users/lofareor/${USER}/stats/out/${n}/*.txt" "out/${n}/"
+    nodeprocs=`ssh ${n} -C "ls -1 /data1/users/lofareor/${USER}/stats/out/${n}/|grep -v txt"`
+    for p in ${nodeprocs} ; do
+	mkdir -p "out/${n}/${p}"
+	scp -rq "${n}:/data1/users/lofareor/${USER}/stats/out/${n}/${p}/*count*.txt" "out/${n}/${p}/"
+	scp -rq "${n}:/data1/users/lofareor/${USER}/stats/out/${n}/${p}/stdout.txt" "out/${n}/${p}/"
+	scp -rq "${n}:/data1/users/lofareor/${USER}/stats/out/${n}/${p}/stderr.txt" "out/${n}/${p}/"
+    done
+    echo -e -n .
+done
+wait
+echo -n -e "\nRunning: ${runningcount} Copying: ${copyingcount} Stopped: ${notrunningcount}\n"
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/dist-eor.sh b/CEP/DP3/AOFlagger/scripts/distributed/dist-eor.sh
new file mode 100755
index 0000000000000000000000000000000000000000..430c6cf3c7a1f5693e113d531ad57e5af9f72fb1
--- /dev/null
+++ b/CEP/DP3/AOFlagger/scripts/distributed/dist-eor.sh
@@ -0,0 +1,42 @@
+echo Killing existing rficonsoles...
+rm out -rvf
+mkdir -p out
+# how many ms per node?
+declare -i CPN=4
+declare -i i=1
+declare -i totalms=0
+sets="`cat sets.txt`"
+declare -i nodecount=`cat nodes.txt|wc -l`
+echo Node count: ${nodecount}
+declare -i thisnodei=0
+for setname in ${sets} ; do
+    thisnodei=${thisnodei}+1
+    if (( ${thisnodei} > ${CPN} )) ; then
+	i=$i+1
+	thisnodei=1
+	if (( $i > ${nodecount} )) ; then
+	    echo Not enough nodes to process \(${CPN} sets per node requested\)
+		exit;
+	fi
+    fi
+    totalms=${totalms}+1
+    A[${i}]="${A[${i}]} ${setname}"
+done
+echo Starting to process $totalms measurement sets...
+nodes="`cat nodes.txt`"
+i=0
+rm -f /tmp/shuffle.txt /tmp/cmds.txt
+for node in ${nodes} ; do
+    i=$i+1
+    echo ssh ${node} "-C" ~/distributed/single-eor.sh ${A[i]} >> /tmp/cmds.txt
+done
+i=0
+cat /tmp/cmds.txt|sort >/tmp/shuffled.txt
+exec</tmp/shuffled.txt
+while read line
+do
+    i=$i+1
+    ${line} &
+    echo Started \#$i: ${line}
+    sleep 60
+done
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/list-nodes.sh b/CEP/DP3/AOFlagger/scripts/distributed/list-nodes.sh
new file mode 100755
index 0000000000000000000000000000000000000000..ae005329b0f344383d459eda759acc71ea741437
--- /dev/null
+++ b/CEP/DP3/AOFlagger/scripts/distributed/list-nodes.sh
@@ -0,0 +1,17 @@
+if [[ "$1" == "" ]] ; then
+    echo Syntax: $0 \<ms\>
+else
+    for (( a=1 ; $a<81 ; a++ )) ; do
+	if (( $a<10 )) ; then
+	    node="node00$a"
+	else
+	    node="node0$a"
+	fi
+	if [[ "`ssh ${node} -C ls /data?/users/lofareor/|grep $1`" != "" ]] ; then
+	    nodesubs="`ssh ${node} -C \"find /data?/users/lofareor/$1/\"|grep SB|grep \\\.MS\/ -v`"
+	    for n in ${nodesubs} ; do
+		echo /net/${node}$n
+	    done
+	fi
+    done
+fi
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/nodes.txt b/CEP/DP3/AOFlagger/scripts/distributed/nodes.txt
index e0da7e2f0d50d85a661d6dd40add2ff7907ff25a..6dc7864118eeeb7f0033cd7b61cabe8e1d08c895 100644
--- a/CEP/DP3/AOFlagger/scripts/distributed/nodes.txt
+++ b/CEP/DP3/AOFlagger/scripts/distributed/nodes.txt
@@ -1,42 +1,69 @@
-lce014
-lce020
-lce021
-lce022
-lce023
-lce015
-lce024
-lce016
-lce001
-lce002
-lce003
-lce004
-lce005
-lce006
-lce007
-lce008
-lce009
-lce010
-lce011
-lce012
-lce013
-lce034
-lce035
-lce036
-lce037
-lce042
-lce044
-lce045
-lce046
-lce047
-lce048
-lce050
-lce051
-lce052
-lce053
-lce054
-lce055
-lce056
-lce057
-lce058
-lce059
-lce038
+node071
+node002
+node003
+node004
+node005
+node006
+node007
+node008
+node009
+node010
+node011
+node012
+node013
+node014
+node015
+node016
+node017
+node070
+node019
+node020
+node021
+node022
+node023
+node024
+node025
+node026
+node027
+node028
+node029
+node030
+node031
+node032
+node033
+node034
+node035
+node036
+node037
+node038
+node039
+node040
+node041
+node042
+node043
+node044
+node045
+node046
+node047
+node048
+node049
+node050
+node072
+node052
+node053
+node054
+node055
+node056
+node057
+node058
+node059
+node060
+node061
+node062
+node063
+node064
+node065
+node066
+node067
+node068
+node069
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/progress.sh b/CEP/DP3/AOFlagger/scripts/distributed/progress.sh
index fa452bf11a19ee55a526591ab880f6e642ad1928..272297bb0267f1a9c436e3b58e8d0080728e6f2d 100755
--- a/CEP/DP3/AOFlagger/scripts/distributed/progress.sh
+++ b/CEP/DP3/AOFlagger/scripts/distributed/progress.sh
@@ -6,18 +6,19 @@ fi
 while true ; do
     clear
     iteration=${iteration}+1
-    for l in `ls -1 out|grep lce` ; do
+    for l in `ls -1 out|grep node` ; do
 	if [[ -f out/$l/progress.txt ]] ; then
 	    cd out/$l
 	    last=`ls -1|sort -g|tail -n 1`
 	    cd ../..
 	    if [[ -f out/$l/${last}/stdout.txt ]] ; then
-		echo $l: `cat out/$l/progress.txt` `cat out/$l/${last}/stdout.txt|grep \%|tail -n 1`
+		echo $l: `cat out/$l/progress.txt` `cat out/$l/${last}/stderr.txt|grep \%|tail -n 1`
 	    else
 		echo $l: `cat out/$l/progress.txt` -
 	    fi
 	fi
     done
+    echo End of iteration.
     sleep 60
     collect.sh
     sleep 1
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/sets.txt b/CEP/DP3/AOFlagger/scripts/distributed/sets.txt
index 1901fb9d84b1a93b7aa558124e405cff72e17891..81dd7ed2ed9f679c12d812820ecee3a7aebbeecf 100644
--- a/CEP/DP3/AOFlagger/scripts/distributed/sets.txt
+++ b/CEP/DP3/AOFlagger/scripts/distributed/sets.txt
@@ -1,248 +1,248 @@
-lse010:/data3/L2010_08450/SB0.MS
-lse010:/data3/L2010_08450/SB1.MS
-lse010:/data3/L2010_08450/SB2.MS
-lse010:/data3/L2010_08450/SB3.MS
-lse010:/data3/L2010_08450/SB4.MS
-lse010:/data3/L2010_08450/SB5.MS
-lse010:/data3/L2010_08450/SB6.MS
-lse010:/data3/L2010_08450/SB7.MS
-lse010:/data3/L2010_08450/SB8.MS
-lse010:/data3/L2010_08450/SB9.MS
-lse010:/data3/L2010_08450/SB10.MS
-lse010:/data3/L2010_08450/SB11.MS
-lse010:/data3/L2010_08450/SB12.MS
-lse010:/data3/L2010_08450/SB13.MS
-lse010:/data3/L2010_08450/SB14.MS
-lse010:/data3/L2010_08450/SB15.MS
-lse010:/data3/L2010_08450/SB16.MS
-lse010:/data3/L2010_08450/SB17.MS
-lse010:/data3/L2010_08450/SB18.MS
-lse010:/data3/L2010_08450/SB19.MS
-lse010:/data3/L2010_08450/SB20.MS
-lse010:/data3/L2010_08450/SB21.MS
-lse010:/data3/L2010_08450/SB22.MS
-lse010:/data3/L2010_08450/SB23.MS
-lse010:/data3/L2010_08450/SB24.MS
-lse010:/data3/L2010_08450/SB25.MS
-lse010:/data3/L2010_08450/SB26.MS
-lse010:/data3/L2010_08450/SB27.MS
-lse010:/data3/L2010_08450/SB28.MS
-lse010:/data3/L2010_08450/SB29.MS
-lse010:/data3/L2010_08450/SB30.MS
-lse010:/data3/L2010_08450/SB31.MS
-lse010:/data3/L2010_08450/SB32.MS
-lse010:/data3/L2010_08450/SB33.MS
-lse010:/data3/L2010_08450/SB34.MS
-lse010:/data3/L2010_08450/SB35.MS
-lse010:/data3/L2010_08450/SB36.MS
-lse010:/data3/L2010_08450/SB37.MS
-lse010:/data3/L2010_08450/SB38.MS
-lse010:/data3/L2010_08450/SB39.MS
-lse010:/data3/L2010_08450/SB40.MS
-lse010:/data3/L2010_08450/SB41.MS
-lse011:/data3/L2010_08450/SB42.MS
-lse011:/data3/L2010_08450/SB43.MS
-lse011:/data3/L2010_08450/SB44.MS
-lse011:/data3/L2010_08450/SB45.MS
-lse011:/data3/L2010_08450/SB46.MS
-lse011:/data3/L2010_08450/SB47.MS
-lse011:/data3/L2010_08450/SB48.MS
-lse011:/data3/L2010_08450/SB49.MS
-lse011:/data3/L2010_08450/SB50.MS
-lse011:/data3/L2010_08450/SB51.MS
-lse011:/data3/L2010_08450/SB52.MS
-lse011:/data3/L2010_08450/SB53.MS
-lse011:/data3/L2010_08450/SB54.MS
-lse011:/data3/L2010_08450/SB55.MS
-lse011:/data3/L2010_08450/SB56.MS
-lse011:/data3/L2010_08450/SB57.MS
-lse011:/data3/L2010_08450/SB58.MS
-lse011:/data3/L2010_08450/SB59.MS
-lse011:/data3/L2010_08450/SB60.MS
-lse011:/data3/L2010_08450/SB61.MS
-lse011:/data3/L2010_08450/SB62.MS
-lse011:/data3/L2010_08450/SB63.MS
-lse011:/data3/L2010_08450/SB64.MS
-lse011:/data3/L2010_08450/SB65.MS
-lse011:/data3/L2010_08450/SB66.MS
-lse011:/data3/L2010_08450/SB67.MS
-lse011:/data3/L2010_08450/SB68.MS
-lse011:/data3/L2010_08450/SB69.MS
-lse011:/data3/L2010_08450/SB70.MS
-lse011:/data3/L2010_08450/SB71.MS
-lse011:/data3/L2010_08450/SB72.MS
-lse011:/data3/L2010_08450/SB73.MS
-lse011:/data3/L2010_08450/SB74.MS
-lse011:/data3/L2010_08450/SB75.MS
-lse011:/data3/L2010_08450/SB76.MS
-lse011:/data3/L2010_08450/SB77.MS
-lse011:/data3/L2010_08450/SB78.MS
-lse011:/data3/L2010_08450/SB79.MS
-lse011:/data3/L2010_08450/SB80.MS
-lse011:/data3/L2010_08450/SB81.MS
-lse011:/data3/L2010_08450/SB82.MS
-lse011:/data3/L2010_08450/SB83.MS
-lse012:/data3/L2010_08450/SB84.MS
-lse012:/data3/L2010_08450/SB85.MS
-lse012:/data3/L2010_08450/SB86.MS
-lse012:/data3/L2010_08450/SB87.MS
-lse012:/data3/L2010_08450/SB88.MS
-lse012:/data3/L2010_08450/SB89.MS
-lse012:/data3/L2010_08450/SB90.MS
-lse012:/data3/L2010_08450/SB91.MS
-lse012:/data3/L2010_08450/SB92.MS
-lse012:/data3/L2010_08450/SB93.MS
-lse012:/data3/L2010_08450/SB94.MS
-lse012:/data3/L2010_08450/SB95.MS
-lse012:/data3/L2010_08450/SB96.MS
-lse012:/data3/L2010_08450/SB97.MS
-lse012:/data3/L2010_08450/SB98.MS
-lse012:/data3/L2010_08450/SB99.MS
-lse012:/data3/L2010_08450/SB100.MS
-lse012:/data3/L2010_08450/SB101.MS
-lse012:/data3/L2010_08450/SB102.MS
-lse012:/data3/L2010_08450/SB103.MS
-lse012:/data3/L2010_08450/SB104.MS
-lse012:/data3/L2010_08450/SB105.MS
-lse012:/data3/L2010_08450/SB106.MS
-lse012:/data3/L2010_08450/SB107.MS
-lse012:/data3/L2010_08450/SB108.MS
-lse012:/data3/L2010_08450/SB109.MS
-lse012:/data3/L2010_08450/SB110.MS
-lse012:/data3/L2010_08450/SB111.MS
-lse012:/data3/L2010_08450/SB112.MS
-lse012:/data3/L2010_08450/SB113.MS
-lse012:/data3/L2010_08450/SB114.MS
-lse012:/data3/L2010_08450/SB115.MS
-lse012:/data3/L2010_08450/SB116.MS
-lse012:/data3/L2010_08450/SB117.MS
-lse012:/data3/L2010_08450/SB118.MS
-lse012:/data3/L2010_08450/SB119.MS
-lse012:/data3/L2010_08450/SB120.MS
-lse012:/data3/L2010_08450/SB121.MS
-lse012:/data3/L2010_08450/SB122.MS
-lse012:/data3/L2010_08450/SB123.MS
-lse012:/data3/L2010_08450/SB124.MS
-lse012:/data3/L2010_08450/SB125.MS
-lse016:/data3/L2010_08450/SB126.MS
-lse016:/data3/L2010_08450/SB127.MS
-lse016:/data3/L2010_08450/SB128.MS
-lse016:/data3/L2010_08450/SB129.MS
-lse016:/data3/L2010_08450/SB130.MS
-lse016:/data3/L2010_08450/SB131.MS
-lse016:/data3/L2010_08450/SB132.MS
-lse016:/data3/L2010_08450/SB133.MS
-lse016:/data3/L2010_08450/SB134.MS
-lse016:/data3/L2010_08450/SB135.MS
-lse016:/data3/L2010_08450/SB136.MS
-lse016:/data3/L2010_08450/SB137.MS
-lse016:/data3/L2010_08450/SB138.MS
-lse016:/data3/L2010_08450/SB139.MS
-lse016:/data3/L2010_08450/SB140.MS
-lse016:/data3/L2010_08450/SB141.MS
-lse016:/data3/L2010_08450/SB142.MS
-lse016:/data3/L2010_08450/SB143.MS
-lse016:/data3/L2010_08450/SB144.MS
-lse016:/data3/L2010_08450/SB145.MS
-lse016:/data3/L2010_08450/SB146.MS
-lse016:/data3/L2010_08450/SB147.MS
-lse016:/data3/L2010_08450/SB148.MS
-lse016:/data3/L2010_08450/SB149.MS
-lse016:/data3/L2010_08450/SB150.MS
-lse016:/data3/L2010_08450/SB151.MS
-lse016:/data3/L2010_08450/SB152.MS
-lse016:/data3/L2010_08450/SB153.MS
-lse016:/data3/L2010_08450/SB154.MS
-lse016:/data3/L2010_08450/SB155.MS
-lse016:/data3/L2010_08450/SB156.MS
-lse016:/data3/L2010_08450/SB157.MS
-lse016:/data3/L2010_08450/SB158.MS
-lse016:/data3/L2010_08450/SB159.MS
-lse016:/data3/L2010_08450/SB160.MS
-lse016:/data3/L2010_08450/SB161.MS
-lse016:/data3/L2010_08450/SB162.MS
-lse016:/data3/L2010_08450/SB163.MS
-lse016:/data3/L2010_08450/SB164.MS
-lse016:/data3/L2010_08450/SB165.MS
-lse016:/data3/L2010_08450/SB166.MS
-lse016:/data3/L2010_08450/SB167.MS
-lse017:/data3/L2010_08450/SB168.MS
-lse017:/data3/L2010_08450/SB169.MS
-lse017:/data3/L2010_08450/SB170.MS
-lse017:/data3/L2010_08450/SB171.MS
-lse017:/data3/L2010_08450/SB172.MS
-lse017:/data3/L2010_08450/SB173.MS
-lse017:/data3/L2010_08450/SB174.MS
-lse017:/data3/L2010_08450/SB175.MS
-lse017:/data3/L2010_08450/SB176.MS
-lse017:/data3/L2010_08450/SB177.MS
-lse017:/data3/L2010_08450/SB178.MS
-lse017:/data3/L2010_08450/SB179.MS
-lse017:/data3/L2010_08450/SB180.MS
-lse017:/data3/L2010_08450/SB181.MS
-lse017:/data3/L2010_08450/SB182.MS
-lse017:/data3/L2010_08450/SB183.MS
-lse017:/data3/L2010_08450/SB184.MS
-lse017:/data3/L2010_08450/SB185.MS
-lse017:/data3/L2010_08450/SB186.MS
-lse017:/data3/L2010_08450/SB187.MS
-lse017:/data3/L2010_08450/SB188.MS
-lse017:/data3/L2010_08450/SB189.MS
-lse017:/data3/L2010_08450/SB190.MS
-lse017:/data3/L2010_08450/SB191.MS
-lse017:/data3/L2010_08450/SB192.MS
-lse017:/data3/L2010_08450/SB193.MS
-lse017:/data3/L2010_08450/SB194.MS
-lse017:/data3/L2010_08450/SB195.MS
-lse017:/data3/L2010_08450/SB196.MS
-lse017:/data3/L2010_08450/SB197.MS
-lse017:/data3/L2010_08450/SB198.MS
-lse017:/data3/L2010_08450/SB199.MS
-lse017:/data3/L2010_08450/SB200.MS
-lse017:/data3/L2010_08450/SB201.MS
-lse017:/data3/L2010_08450/SB202.MS
-lse017:/data3/L2010_08450/SB203.MS
-lse017:/data3/L2010_08450/SB204.MS
-lse017:/data3/L2010_08450/SB205.MS
-lse017:/data3/L2010_08450/SB206.MS
-lse017:/data3/L2010_08450/SB207.MS
-lse017:/data3/L2010_08450/SB208.MS
-lse017:/data3/L2010_08450/SB209.MS
-lse018:/data3/L2010_08450/SB210.MS
-lse018:/data3/L2010_08450/SB211.MS
-lse018:/data3/L2010_08450/SB212.MS
-lse018:/data3/L2010_08450/SB213.MS
-lse018:/data3/L2010_08450/SB214.MS
-lse018:/data3/L2010_08450/SB215.MS
-lse018:/data3/L2010_08450/SB216.MS
-lse018:/data3/L2010_08450/SB217.MS
-lse018:/data3/L2010_08450/SB218.MS
-lse018:/data3/L2010_08450/SB219.MS
-lse018:/data3/L2010_08450/SB220.MS
-lse018:/data3/L2010_08450/SB221.MS
-lse018:/data3/L2010_08450/SB222.MS
-lse018:/data3/L2010_08450/SB223.MS
-lse018:/data3/L2010_08450/SB224.MS
-lse018:/data3/L2010_08450/SB225.MS
-lse018:/data3/L2010_08450/SB226.MS
-lse018:/data3/L2010_08450/SB227.MS
-lse018:/data3/L2010_08450/SB228.MS
-lse018:/data3/L2010_08450/SB229.MS
-lse018:/data3/L2010_08450/SB230.MS
-lse018:/data3/L2010_08450/SB231.MS
-lse018:/data3/L2010_08450/SB232.MS
-lse018:/data3/L2010_08450/SB233.MS
-lse018:/data3/L2010_08450/SB234.MS
-lse018:/data3/L2010_08450/SB235.MS
-lse018:/data3/L2010_08450/SB236.MS
-lse018:/data3/L2010_08450/SB237.MS
-lse018:/data3/L2010_08450/SB238.MS
-lse018:/data3/L2010_08450/SB239.MS
-lse018:/data3/L2010_08450/SB240.MS
-lse018:/data3/L2010_08450/SB241.MS
-lse018:/data3/L2010_08450/SB242.MS
-lse018:/data3/L2010_08450/SB243.MS
-lse018:/data3/L2010_08450/SB244.MS
-lse018:/data3/L2010_08450/SB245.MS
-lse018:/data3/L2010_08450/SB246.MS
-lse018:/data3/L2010_08450/SB247.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB000_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB001_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB002_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB003_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB004_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB005_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB006_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB007_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB008_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB009_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB010_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB011_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB012_uv.MS
+/net/node001/data2/users/lofareor/L2010_21479/L21479_SB013_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB014_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB015_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB016_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB017_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB018_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB019_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB020_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB021_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB022_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB023_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB024_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB025_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB026_uv.MS
+/net/node002/data2/users/lofareor/L2010_21479/L21479_SB027_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB028_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB029_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB030_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB031_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB032_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB033_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB034_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB035_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB036_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB037_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB038_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB039_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB040_uv.MS
+/net/node003/data2/users/lofareor/L2010_21479/L21479_SB041_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB042_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB043_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB044_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB045_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB046_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB047_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB048_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB049_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB050_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB051_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB052_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB053_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB054_uv.MS
+/net/node004/data2/users/lofareor/L2010_21479/L21479_SB055_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB056_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB057_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB058_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB059_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB060_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB061_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB062_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB063_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB064_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB065_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB066_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB067_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB068_uv.MS
+/net/node005/data2/users/lofareor/L2010_21479/L21479_SB069_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB070_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB071_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB072_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB073_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB074_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB075_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB076_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB077_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB078_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB079_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB080_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB081_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB082_uv.MS
+/net/node006/data2/users/lofareor/L2010_21479/L21479_SB083_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB084_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB085_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB086_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB087_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB088_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB089_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB090_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB091_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB092_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB093_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB094_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB095_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB096_uv.MS
+/net/node007/data2/users/lofareor/L2010_21479/L21479_SB097_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB098_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB099_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB100_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB101_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB102_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB103_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB104_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB105_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB106_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB107_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB108_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB109_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB110_uv.MS
+/net/node008/data2/users/lofareor/L2010_21479/L21479_SB111_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB112_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB113_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB114_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB115_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB116_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB117_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB118_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB119_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB120_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB121_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB122_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB123_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB124_uv.MS
+/net/node009/data2/users/lofareor/L2010_21479/L21479_SB125_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB126_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB127_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB128_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB129_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB130_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB131_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB132_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB133_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB134_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB135_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB136_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB137_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB138_uv.MS
+/net/node010/data2/users/lofareor/L2010_21479/L21479_SB139_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB140_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB141_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB142_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB143_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB144_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB145_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB146_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB147_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB148_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB149_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB150_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB151_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB152_uv.MS
+/net/node011/data2/users/lofareor/L2010_21479/L21479_SB153_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB154_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB155_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB156_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB157_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB158_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB159_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB160_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB161_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB162_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB163_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB164_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB165_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB166_uv.MS
+/net/node012/data2/users/lofareor/L2010_21479/L21479_SB167_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB168_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB169_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB170_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB171_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB172_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB173_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB174_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB175_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB176_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB177_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB178_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB179_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB180_uv.MS
+/net/node013/data2/users/lofareor/L2010_21479/L21479_SB181_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB182_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB183_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB184_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB185_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB186_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB187_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB188_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB189_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB190_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB191_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB192_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB193_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB194_uv.MS
+/net/node014/data2/users/lofareor/L2010_21479/L21479_SB195_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB196_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB197_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB198_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB199_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB200_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB201_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB202_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB203_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB204_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB205_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB206_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB207_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB208_uv.MS
+/net/node015/data2/users/lofareor/L2010_21479/L21479_SB209_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB210_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB211_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB212_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB213_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB214_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB215_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB216_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB217_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB218_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB219_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB220_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB221_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB222_uv.MS
+/net/node016/data2/users/lofareor/L2010_21479/L21479_SB223_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB224_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB225_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB226_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB227_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB228_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB229_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB230_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB231_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB232_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB233_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB234_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB235_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB236_uv.MS
+/net/node017/data2/users/lofareor/L2010_21479/L21479_SB237_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB238_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB239_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB240_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB241_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB242_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB243_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB244_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB245_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB246_uv.MS
+/net/node018/data2/users/lofareor/L2010_21479/L21479_SB247_uv.MS
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/single-eor.sh b/CEP/DP3/AOFlagger/scripts/distributed/single-eor.sh
new file mode 100755
index 0000000000000000000000000000000000000000..86444e0537c6b9712d41d10c311254d4db7df3b3
--- /dev/null
+++ b/CEP/DP3/AOFlagger/scripts/distributed/single-eor.sh
@@ -0,0 +1,22 @@
+#! /bin/bash
+source /software/users/lofareor/eor-init.sh
+outdir="/data1/users/lofareor/${USER}/stats/out/`hostname`"
+strategy="/home/users/offringa/distributed/statistics.rfis"
+declare -i index=0
+rm -fr ${outdir}
+mkdir -p ${outdir}
+echo single.sh $* > ${outdir}/command.txt
+for f in $* ; do
+    echo ${index} > ${outdir}/progress.txt
+    cdir=${outdir}/${index}
+    rm -fr "${cdir}"
+    mkdir -p ${cdir}
+    cd ${cdir}
+    echo \# "$f" > ${cdir}/command.txt 2>> ${cdir}/stderr.txt
+    echo makeFLAGwritable "$f" >> ${cdir}/command.txt
+    makeFLAGwritable "$f" > ${cdir}/stdout.txt 2>> ${cdir}/stderr.txt
+    echo rficonsole -indirect-read -v -nolog -strategy ${strategy} -j 9 "$f" >> ${cdir}/command.txt
+    rficonsole -indirect-read -v -nolog -strategy ${strategy} -j 9 "$f" >> ${cdir}/stdout.txt 2>> ${cdir}/stderr.txt
+    index=${index}+1
+    rm -fr "${localms}" 2>> ${cdir}/stderr.txt
+done
diff --git a/CEP/DP3/AOFlagger/scripts/distributed/statistics.rfis b/CEP/DP3/AOFlagger/scripts/distributed/statistics.rfis
new file mode 100644
index 0000000000000000000000000000000000000000..e702475dcc98f274dbb99473d3796fbd927299b9
--- /dev/null
+++ b/CEP/DP3/AOFlagger/scripts/distributed/statistics.rfis
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This is a Strategy configuration file for the
+rfi detector by André Offringa (offringa@astro.rug.nl).
+-->
+<rfi-strategy format-version="2.3" reader-version-required="2.2">
+  <action type="Strategy">
+    <children>
+      <action type="ForEachBaselineAction">
+        <selection>1</selection>
+        <thread-count>4</thread-count>
+        <data-kind>0</data-kind>
+        <children>
+          <action type="SetFlaggingAction">
+            <new-flagging>0</new-flagging>
+          </action>
+          <action type="ForEachPolarisationBlock">
+            <on-xx>1</on-xx>
+            <on-xy>1</on-xy>
+            <on-yx>1</on-yx>
+            <on-yy>1</on-yy>
+            <on-stokes-i>0</on-stokes-i>
+            <on-stokes-q>0</on-stokes-q>
+            <on-stokes-u>0</on-stokes-u>
+            <on-stokes-v>0</on-stokes-v>
+            <children>
+              <action type="ForEachComplexComponentAction">
+                <on-amplitude>1</on-amplitude>
+                <on-phase>0</on-phase>
+                <on-real>0</on-real>
+                <on-imaginary>0</on-imaginary>
+                <restore-from-amplitude>0</restore-from-amplitude>
+                <children>
+                  <action type="IterationBlock">
+                    <iteration-count>2</iteration-count>
+                    <sensitivity-start>4</sensitivity-start>
+                    <children>
+                      <action type="ThresholdAction">
+                        <base-sensitivity>1</base-sensitivity>
+                        <time-direction-flagging>1</time-direction-flagging>
+                        <frequency-direction-flagging>1</frequency-direction-flagging>
+                      </action>
+                      <action type="CombineFlagResults">
+                        <children>
+                          <action type="FrequencySelectionAction">
+                            <threshold>3</threshold>
+                          </action>
+                          <action type="TimeSelectionAction">
+                            <threshold>3.5</threshold>
+                          </action>
+                        </children>
+                      </action>
+                      <action type="SetImageAction">
+                        <new-image>1</new-image>
+                      </action>
+                      <action type="ChangeResolutionAction">
+                        <time-decrease-factor>3</time-decrease-factor>
+                        <frequency-decrease-factor>3</frequency-decrease-factor>
+                        <restore-revised>1</restore-revised>
+                        <restore-masks>0</restore-masks>
+                        <children>
+                          <action type="SlidingWindowFitAction">
+                            <fit-precision>1e-06</fit-precision>
+                            <frequency-direction-kernel-size>5</frequency-direction-kernel-size>
+                            <frequency-direction-window-size>15</frequency-direction-window-size>
+                            <method>4</method>
+                            <time-direction-kernel-size>2.5</time-direction-kernel-size>
+                            <time-direction-window-size>10</time-direction-window-size>
+                          </action>
+                        </children>
+                      </action>
+                      <action type="SetFlaggingAction">
+                        <new-flagging>0</new-flagging>
+                      </action>
+                    </children>
+                  </action>
+                  <action type="ThresholdAction">
+                    <base-sensitivity>1</base-sensitivity>
+                    <time-direction-flagging>1</time-direction-flagging>
+                    <frequency-direction-flagging>1</frequency-direction-flagging>
+                  </action>
+                </children>
+              </action>
+            </children>
+          </action>
+          <action type="SetFlaggingAction">
+            <new-flagging>4</new-flagging>
+          </action>
+          <action type="StatisticalFlagAction">
+            <enlarge-frequency-size>0</enlarge-frequency-size>
+            <enlarge-time-size>0</enlarge-time-size>
+            <max-contaminated-frequencies-ratio>0.5</max-contaminated-frequencies-ratio>
+            <max-contaminated-times-ratio>0.5</max-contaminated-times-ratio>
+            <minimum-good-frequency-ratio>0.8</minimum-good-frequency-ratio>
+            <minimum-good-time-ratio>0.8</minimum-good-time-ratio>
+          </action>
+          <action type="TimeSelectionAction">
+            <threshold>3.5</threshold>
+          </action>
+          <action type="BaselineSelectionAction">
+            <preparation-step>1</preparation-step>
+            <flag-bad-baselines>0</flag-bad-baselines>
+            <threshold>8</threshold>
+            <smoothing-sigma>0.6</smoothing-sigma>
+            <abs-threshold>0.4</abs-threshold>
+            <make-plot>0</make-plot>
+          </action>
+          <action type="SetFlaggingAction">
+            <new-flagging>6</new-flagging>
+          </action>
+          <action type="WriteFlagsAction" />
+          <action type="PlotAction">
+            <plot-kind>0</plot-kind>
+            <logarithmic-y-axis>0</logarithmic-y-axis>
+          </action>
+          <action type="PlotAction">
+            <plot-kind>1</plot-kind>
+            <logarithmic-y-axis>0</logarithmic-y-axis>
+          </action>
+	  <action type="AddStatisticsAction" >
+            <file-prefix></file-prefix>
+            <compare-original-and-alternative>0</compare-original-and-alternative>
+            <separate-baseline-statistics>0</separate-baseline-statistics>
+          </action>
+        </children>
+      </action>
+      <action type="BaselineSelectionAction">
+        <preparation-step>0</preparation-step>
+        <flag-bad-baselines>1</flag-bad-baselines>
+        <threshold>8</threshold>
+        <smoothing-sigma>0.6</smoothing-sigma>
+        <abs-threshold>0.4</abs-threshold>
+        <make-plot>0</make-plot>
+      </action>
+    </children>
+  </action>
+</rfi-strategy>