changed command to use generic task command