init plugin and patches project