Added protocol to template resources