Make function for changing server and update example config file