changes to control code for just copying the gains and telemetry for publishing the gains as suggested by Julian