autosubsync works on my Windows machine, but I can't get this script to run on MacOS. Can someone understand what's going on from console output? 