all programs now use logging instead of sys.stderr