Update trap_err.sh