separate config vars and global vars