upd on how plugin initializes