Fix the daylog block to use the datastash code