use PROGNAME variable