BVH Twisted hip Problem

Hello world, thanks for stopping by!
I got these bvh files that I’m trying to use but the hip bone is badly twisted when i set it to the T-Pose in BVH hacker.
I know there is a script to fix this problem but i can’t find it. Does anybody know how to fix this problem?


Thank you!