Fantastic. It works now. Thankyou thankyou.
I edited the script fil so that it pointed to the container with the toggles in it. Now the toggles do what they are meant to. But i have somehow intorduced a new error.
There is still some sort of red error message that appears for a brief moment:
Script error , null pointer
I can only imagine that this has something to do with my complete lack of knowledge with handling those scripting files. Is there something extra in the script file I should have changed?