changed activate switch to work only for player on the switch