best debug script(s) ever!