Changed way of using params
Merge pull request #2 from RobQuistNL/params

Changed way of using params