Debugging script