Dist with templates