clean up templates and graphics