Added Scan for Active PANs function