Added initial untested version of group_by_date script