read config on start