Update safe.sh so it actually works.