Made main.lua possible to run from a unix shell