Add auto-update after 7 days of no change

Also fix logic so updates will actually happen when run outside of the
IDE