Add support for custom portsettings in the config file