Rewrite now works for local mods, repository ui still not done and downloading untested