How long do you wait between commands? Some programs can be very long and after sending a load
you need to wait for the program to be fully load, otherwise it will have an error.
Some programs might seem short, but if they have an URCap, the .script
file underneath might be long. I got once a program with URCaps that generated threads on the program and had to wait like 2 seconds before sending the play
.