## Combining multiple script recordings into 1?

So I recorded a painting over 3 sessions, and I never checked the "include current painting" box. So I have 3 script files, but the last 2 are, of course, missing the previous visual information. I have tried using a text editor to combine the <events> sections together, in order, but it's not quite working, as the scripts dont seem to run together properly. When script 2 starts playing, there are just lots of "layer hidden" errors, which I guess is because the sequence is a bit off.

Can someone inform me on how to properly combine the files in a text editor? Which <startup> section should I use? Thanks!