added port changing ability to the config