pass in a savename to use in localstorage