add port number to config files