Inserts config for addTask() method