add config and global