Added get_taskline function