added control attributes to tasks