Try checking with the users on Source Code Section.
Like what Jigsaw said, you might as well ask some people in the hack source code section since they know how to do things like this.
No answer for a few days, so I'm going to assume this is solved. If not, like said, make a thread in the hack source code section.