redo retrieval scripts