Make CMD port configurable