Fixed python and ruby guards as well as ordering issues with zsh