Set up S3 stuff.