Codesign via Scripting of Script Debugger?

I’ve got Script Debugger automated to open apps and save them out as run-only versions but is it possible to codesign programmatically? I see that I can set codesign identity and codesign on export only (boolean) but these settings seem to revert to Do Not Codesign when saving out. The Close function seems to revert back to “Do Not Codesign” by default and the Save function seems to ignore the Codesign on Export option.

Screen video showing this in action:

Manually saving out seems to codesign fine. It is just an issue when trying to do it programmatically.

Thanks for the bug report. It should be fixed in an upcoming release.