Added norewritehost to support an S3-compatible provider