replaced graphicsmagick for imagemagick