adding s3 support for docs