Boilerplate for publishing to S3