revert the report() function changes; sometimes we have to use the "... >> $tempfile" form