Replace hard code server config with sc