make settings persistant