Add Lua script support

Add Lua script support