add global variables to config