fixing overwriting problems on startup
working on raspi
adding in read button