added checkbox to chose whether to use a internal server or not.