Updated config generator.