added script to summarise permutations