Added localstorage back in.