Consider python 3 is soon going to be the default, it might be better to make the script Python 3 compatible.