debugging pp script