There's a new system in Hype called Export Scripts that might help - I go into a bit more detail in this post: