Thanks, I'll mark this on our to-do list. Another user also reported it.
I noticed it sometimes works fine. I am not 100% sure, but I think that the problem is related to empty potion flasks you have before starting script. Would be cool if it would throw them to depot or sell them.