Fix: test that configuration file exists before change