config wrangling