Changed local properties to a template file