Add the process command and the addCommand