Adds the commands to the solution.