added lua var and lua_stack, updated context