You simply cant load that many queues from a traincar and do the required tasks without a very good chance of tripping the ER_TIMEOUT exception. I say good chance because the code works, however if trainz thinks its taking too long its going to halt it and give an exception. This could pass one, two, maybe even several more of those cars with 100 queues in the config with 1 or 2 product entries but eventually trainz will kill the execution. I'm very sorry Dave, but the reason it doesn't function as you want is because of the product config of your traincar. I had to ignore such configured items because I didn't want people getting red bugs! Also, if you have more than one product in the first queue it can randomly pick between those. This was the way the very original instant load worked.