Added functionality for sending Lua functions as arguments
Merge