changed to new form of config file