Adding scope
Using idb for page storage