Plugins won't work on Glyphs 3

I am on Big Sur, too, and plugins in Glyphs 3 cause the same crash as pictured above. Entering the Python code in the Macro window results in this: