added template to activate matlab