updated AWS, adding custom MIME, specifying format in paths and send_data method