refresh on startup now actually works