sam's script, not reproducing the results yet
Merge branch 'master' of github.com:PermuteSeminar/PermuteSeminar-2014