I have tried that and a few other things and couldn’t find anything obvious checking through your documentation (which is great btw, thanks for the effort). Been playing about with this for a few days now and think that the problem is with storing the value in a variable which has caused the same issue in a seperate script now.
Other than that small issue with that function though the plugin has been great, saved me a lot of time :).
Many thanks.