Fixed issues with Pins and imagemagick