Making template more proxy friendly by forwarding env varaibles