i meant that by putting 10 seconds you should see the switching on/off, visually.
Do you?
I do.
If you don't, then the script is not even running, for reason on your side.
Most likely you did something wrong, that may be: you put it in the wrong place, or you are not using build #280.