We have a user event afterSubmit script on Sales orders that updates the shippingcost based on some criteria. The script is placed to run before the avatax script on the scripted records list but for some reason the tax does not get updated based on the new shipping cost. The tax stays the same and when we go edit the sales order, the tax changes. Isn't this flow supposed to work if the user event script executes before the avatax script? Any ideas?