Added 'mode' information to record the YARP carrier being used.