Can it be done automatically? If it can be done, it should be done. I mean query configuration, save data, and restore configuration after exploitation.