added ad-hoc support for configuration generation