add plugin and lib