Added initial pirDetect.py