I modified Youcheng main to include the possibility to write all parameters on a file when pressing ctrl-c. In this way, we can get all parameters back when running again the program just by loading the file.