Added config var for number of takes