add bom to templates