read config variables