Updated script with activyModes for each room.