refactor, add ability to select configs