port-detector.sh added