added console-input-parameter handling