improve report.sh