Update safe.sh with new dir struct.