detect.py is integrated with avp.py