Example _dir.lua showing how to load external functions into environment