Added task struct to config