updated the param-verifier script to use options, functions and added usage - note: this breaks previous uses as the order of parameters does not determine which argument it is