Fixing copying the logs to S3