Added checks for required programs curl and imagemagick