making changes to linkages migration script - getting dates formatted