Update diagnostics.sh