Fixed problem with config file