Still having some trouble here:
I have attached 3 screenshots to illustrate the final tool and the bug I am currently trying to fix.
So what I want to achieve is t