added support for single records as arguments to export