progress output goes to stderr
trap errors