Ah thank you! I fixed the bug, along with some other stuff. Turns out, there was extraneous stdout (standard output) from CSCRIPT that was affecting the sequences. Hopefully it is fixed now :)