added S3 visibility option support