check imagemagick version script

not sure if this is necessary