Added auto template reload