moving localstore to config