#tag
Work backwards by adding prints around the code that is failing/not running.
- Print variables to see their value at the time
- Print inside relevant if statements/loops to check if they're running
- Print after sections of code to see if your script reaches that point