added tolwfr to input file