Debugging script creation