I didn’t know how to use debug mode but I was able to find this post.
https://forums.developer.nvidia.com/t/setting-up-a-serial-console-for-debug/176716/2
The script in question has been removed and everything is working normally now.
Thank you for the hint DaneLLL.