Update script so it works with python3 (python2 is being deprecated globally)
Authored by: jputcu 2021-12-27
Parent: [r394]
Child: [r396]