buggily working, need to load script and update localstorage retrieval