Fixed retriever script (hopefully)