update for final variables for server and port