Add a loki script as a recovery transformation step