Change permissions on debug script