Adding support for port configuration