make use of progname wherever applicable