added generate only option