if settings.ini isnt found or is corrupt generate a new one.