restructure the config file
needs bugfix