Update, now it is possible to use as plugin