>>56,57I'm a bit more worried about the argv[0] used here. I don't think it's a very useful input.
argv[0]