generateCommands