adding debug script