Merge pull request #622 from dalkon/master

More Lua functions