fixup error logging associated to lua script, plugin options