Solve some issues with input parameters.

-c option was not working properly due to problems with default
values for the input parameters.

-we option has been replaced by -tmw option.
Use of -we option replaced by -tmw.