Updated param parser to have -timeout and -p