Fixed variable names in plugin.py