Also write auto masks