Added a crappy params parser