Apply s3 uploading to Heroku