In the try_to_process function in agents.py, wouldn't it be better to first unload cargo and then load cargo?