add dynamic templates loading