read all config variables to globals