Add branch command to rdd