Refer to - http://wiki.infinitegrid.org/index.php/LuaSL_-_New_scripting_engine