fixes #337: Add support to adding globals to the config