add debugging script