minor changes in reading configuration files.