Problems create lua filter

please refer Problem creatting lua filter
I think James_Thomson provided the answer.