uncommented the command generation code.