work in progress, config generator for ECM