re-wrote config file