Current code only really works well from the plugin folder, not the plugin manager, PR incoming to solve this