Fix rights
Refactor install