restore grains on startup