changed to background page and added tab to permissions