cleaned up config replacements