working on tgm plugin activation