converted main.lua to census.exe