Animate values of a scriptNode

Hi, i have a function inside a script Node that is been triggered when you change values on rotation X of a controller. I am putting keys on this attribute, until now everything is working perfect. If i go frame by frame i can see my animation, but when I scrub in the timeline or when I hit play nothing happens.
Any ideas?

Here is the scriptNode: [cutt.ly/kfVT63j]