Digital repatriation