o prototyping with a script to see if this can actually work, then I'll make it work with the embedder