Fixed a typo in `end.sh`