refactor exec mergeSettingsContent