you may also try this approach:
but it is still buggy
try if you can get this script to work with thea: