Installing and assigning a new template