Hi Kevin,
I have implemented type attribute for scripts, now I'm playing with modal dialog: to do something useful I'll need precise definition of "input" "output" "edit" and "meta" in Sigil context. Hopefully your script will define "edit" for me at least.
This working on copies of files to be changed is something I should have been doing from the begining...