Removing redundant configurations, cleaning and debugging