added global setter/getter for lua variables in the script, also metatable for LuaBehaviour (untested)