More work on readConfig