added local storage script