Update to include SD logging