add options to replace server config