working on the munging script