templates as Inline scripts