plugin setup repaced with activate
plugin access to globals