generator: check for argv[1]