updated export
fixed export
added ranked name to export
Added guarding for empty card string