Use server config instead of hard coding server name in code