Fixing up config file parsing.