modified light controller to receive current context in activation