The code should be refactored and a config file should be used to keep some parameters inside the code. Example - [UserPreferences.json] file path.