auto configure depending what server