Script executed twice

HI!
I actually opened your sample project and dyn now and I found what the problem is:


Your feeding this value with the pipe offset befor changing the pipe height.
I fixed this with extracting the offset from the element after changing the height:

It works correctly now.