Change dummy task_name to an actual function.