added PIR testing script