added debug script

added debug script