Improve config recovery script
check for std::string::npos
in case the configs are to be written in the current directory. Also added some additional printout.
check for std::string::npos
in case the configs are to be written in the current directory. Also added some additional printout.