added ? to check for shopPermissions in package