Add SMS to graphs code