Use helper function instead of global variable
With great hesitation, add my name to this plugin
Merge pull request #17 from Viper007Bond/master

Global variables suck