More little changes to Lua runSQL