Renamed plugin and introduced global variable