Made the program read the used settings from a file at the start of the program.