This is my struggle for every query:
1st transform:
2nd transform:
I will make shared scripts of this. But i feel like it creates alot of additional strain on the engine. (compared to an native binding method)