Added 'register' variable in configuration file to specify which port to expose. (this used to be the 'lowest port number')