changed uploader to use mini magick