Add exit recovery loki script