config file wrangling