role settup for templates