Clean the template and add a rename script