Made templates standalone