minor changes to how configurations are parsed in main