You might want to check this thread for some potentially useful information:
http://forums.omnigroup.com/showthread.php?t=8493
I've got even more notes than I've posted in that thread, and when/if I get this all working and documented, hope to post more.
Bob