added --no_tensor and --words options