checkbox control for chain mode added
structure changed and grunt added