Fixed permissions
Fixed mpkg issues