Added -p option to specify per-modifier function file parameters
Added more careful checking of parameter setting string