Optimized the custom configuration.