add some info commands and generate command