Add automation feature into CWM