adding reporting script i wrote a while back