removed PROG_NAME and used config.h