Well, what I imagined is to generalize the current script to do an exercises file. Probably would be the simplest thing. Let me hack something up.