remove hard dependencies on s3 and image magick