main now requires argv.