add S3 for rich gem