Adapted to use the diet directory