Habitual routines in task-performing groups