replace default template within template based on boilerplate