fixed z.sh ref