Migrated to python 3 and Gedit 3.8