Created plugin to work with AP gain on portals