Added code to allow PID values on the slave to be changed.