Adding support for a port flag