edit to munging script to match with Aaron's dakota subset