Added signal control to Lua