adding scope to service worker