some streamlining in script_node

I think better use of context :D
Merge pull request #54 from nortikin/master

some streamlining in script_node