Added maxWrites config