change template.py