forgot some previous files
settings can now be saved to local storage