added AddPlanCommand