Insert in Template Repository automatically