Index: doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/cfa/rand.cfa
===================================================================
--- doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/cfa/rand.cfa	(revision 2f6a9391fb8df95071d5a97f144de723657b7e5d)
+++ doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/cfa/rand.cfa	(revision afdb74b47df46baca69fdd94ae046d3d0dbcfee1)
@@ -65,5 +65,5 @@
     uint64_t count = 0;
     while (true) {
-        locks( my_arr + (count % num_gen) * num_locks );
+        locks( my_arr + (count % num_gen) * num_locks ); // go to start of next sequence of locks
         count++;
         if (done) break;
Index: doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/plotData.py
===================================================================
--- doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/plotData.py	(revision 2f6a9391fb8df95071d5a97f144de723657b7e5d)
+++ doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/plotData.py	(revision afdb74b47df46baca69fdd94ae046d3d0dbcfee1)
@@ -101,9 +101,8 @@
                     plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker='o' )
                 plt.yscale("log")
-                ax.get_yaxis().set_major_formatter(ticks.ScalarFormatter())
                 plt.xticks(procs)
                 ax.legend(names)
-                # fig.savefig("plots/" + machineName + name + "_" + str(currLocks) + ".png")
-                plt.savefig("plots/" + machineName + name + "_" + str(currLocks) + ".pgf")
+                # fig.savefig("plots/" + machineName + "Aggregate_Lock_" + str(currLocks) + ".png")
+                plt.savefig("plots/" + machineName + "Aggregate_Lock_" + str(currLocks) + ".pgf")
                 fig.clf()
 
Index: doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/run
===================================================================
--- doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/run	(revision 2f6a9391fb8df95071d5a97f144de723657b7e5d)
+++ doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/run	(revision afdb74b47df46baca69fdd94ae046d3d0dbcfee1)
@@ -157,26 +157,22 @@
 echo ""
 
-if [ ${runCFA} -eq ${true} ] ; then
-    if [ ${order} -eq ${true} ] ; then
-        echo -n 'CFA-order '
-    fi
-    if [ ${baseline} -eq ${true} ] ; then
-        echo -n 'CFA-baseline '
-    fi
-    if [ ${rand} -eq ${true} ] ; then
-        echo -n 'CFA-rand '
-    fi
-fi # done CFA
-if [ ${runCPP} -eq ${true} ] ; then
-    if [ ${order} -eq ${true} ] ; then
-        echo -n 'CPP-order '
-    fi
-    if [ ${baseline} -eq ${true} ] ; then
-        echo -n 'CPP-baseline '
-    fi
-    if [ ${rand} -eq ${true} ] ; then
-        echo -n 'CPP-rand '
-    fi
-fi # done CPP
+if [ ${runCFA} -eq ${true} ] && [ ${order} -eq ${true} ]; then
+    echo -n 'CFA-order '
+fi
+if [ ${runCPP} -eq ${true} ] && [ ${order} -eq ${true} ]; then
+    echo -n 'CPP-order '
+fi
+if [ ${runCFA} -eq ${true} ] && [ ${baseline} -eq ${true} ]; then
+    echo -n 'CFA-baseline '
+fi
+if [ ${runCPP} -eq ${true} ] && [ ${baseline} -eq ${true} ]; then
+    echo -n 'CPP-baseline '
+fi
+if [ ${runCFA} -eq ${true} ] && [ ${rand} -eq ${true} ]; then
+    echo -n 'CFA-rand '
+fi
+if [ ${runCPP} -eq ${true} ] && [ ${rand} -eq ${true} ]; then
+    echo -n 'CPP-rand '
+fi
 echo ""
 
@@ -192,5 +188,4 @@
 
 run_order() {
-    echo "locks: "${1}
     post_args=${1}
 
@@ -217,4 +212,5 @@
 
 for i in ${!locks[@]}; do
+    echo "locks: "${locks[$i]}
     if [ ${order} -eq ${true} ] ; then
         run_order ${locks[$i]} ${lock_flags[$i]} 'order'
