Added support for imagick