improved install ports handlers