optimize: removed use of the module() function and use of lua tables and table.concat() for simple one-line Lua string concatenation.