Python: Exporter with Metadata Overlay

Before I go and submit a bug report, I’m wondering if it’s user error. I’m trying to build a hook that will export a sequence but include a defined metadata overlay.

All these settings are defined in the preset itself and work as expected when exporting normally. The metadata overlay, however, is not applied when called from a hook regardless if it’s in the foreground or background.

The code is simple as per the example supplied with Flame to export a sequence.

Am I missing something or is this a bug? @fredwarren