created a class that adds support for s3store and s3restore.