updated lel.lua to work with the renamed I/O functions