proper add plugin after build