added lua file (copy from logging block)