Fix scripts for zsh