created script to generate a report on DB contents