switched to using cliargs.lua for command line arguments