switched S3 to https