Repair import to session as template