some work on config file handling