check_server_config now takes string argument