Update params.php

remove duplicate calls & update formatting

Get params is still called twice - second call doesn't appear to be used, may remove later