Extract out taskline setup method