changed local dir to "localstore"