Added process.env check for IMAGE_MAGICK