- Improved lua snippet.