Planning to make plugin faster

And I changes some things a bit