Readd debug script