More progress on task definition and execution