made plugin compatible with Sublime Text 3