Making ports configurable