add S3 class to triggers