Hi Jason,
Thanks for the quick reply. The file is so long because we include several repetitions of the code to force particular correct responses as a function of prior ones. We may have been able to do this much more easily with error feedback, but that function has never worked properly on the virtual machines we use. I've attached the input and style file.
-Chris