Thanks for the update!
I was starting to suspect this could be the case, but I had no idea how to verify it. My device is very old, so it makes sense. I just wanted to try running the code on my home computer to test how things work before doing something larger scale. I will try again on a different, more modern machine. Now I know that at least the code is not wrong, so thanks again.
Per