adds transfer function for transfer.sh