Moved activation from role to environment