Adds exclusions, cleans up configuration