So it works, but I'm not using background pages to keep it persistent. I need to use background pages