Adjust the way glance plugin is called, due change in plugins. fixes #1