rollback GenerateCommand, bugfix of InstallCommand

Signed-off-by: alkr <sandello.alkr@gmail.com>