Add a way to access argv[0] in hooks.