I am trying to sort three different kinds of items down their preferred conveyors, but I need to change their destination if that lane is full. For example, the red box will go down the white conveyor if the red conveyor is full. I have tried to solve this by having a photo eye send a message to a decision point to change the labels for their destination. However, I keep getting errors in my custom scripting and the change of destination does not occur. I have posted my most recent model (19.2.0) below. I am new to custom scripting in FlexSim and any help would be appreciated.