added generate command