can now also export data for clincal variables