Use argv[1] instead of environment variable