I was working on that today. Should have something within the next couple of days. It's really the first time I've had to make something like this work on an on-going basis (vs a per-encounter). So I'm writing some new code to make it work properly rather than some hack job.
There's lots of hack job ways you can do it (that I'm not going to get into or answer questions on, as that just uses up time that I could be working on a real solution).