Gets list of tasks and outputs them