cleanup temporary local storage script