add Permissions attribute to manifest