improved packaging and better permissions