added support for specifying which attributes to transfer