Rewrite some functionals on run subtasks