added code to try and make the program just run and update files as it can, but it doesn't work