Script no longer crashes when zsh exists but ZSH_VERSION unset or null