Adds min task.
Removes trailing comma.