improved lua.snippets