error running report.sh