- Improved lua check.