type magick >/dev/null || exit