improvements in configuration generation