add an option to disable Lua scripts