hopefully i didn't break anyhing by adding the s3 upload method