added in logic so slave is not reconfigured if already running