Get s3 working with em