Modify to make plugins install correctly