Update management script to use new task format.