Added ability to change main server