Added saving the configuration