Great news! Anyone else who hits the same issue: in the GUI there is a button to view the script – if you click it you can copy and paste that into the script editor and it works perfect. Going to be adding in the new lines of codes for my range knob and will post results.
P