Add server replacements logic