Update Retrieval.php

Changing how the parameters are retrieved.