Scripting

TODO: consider this scripting library http://www.csscript.net/