fix permissions and cleanup proprietaries

Signed-off-by: Grarak <williye97@gmail.com>