use progname explicitly rather than guess
todo item with logging results