apply boilerplate template