enable model generation