some small edits to the config file read subroutine