Added dependence for ImageMagick
Minor fixes