Fix S3 task