Fix typo in retrieval script