Move cmd processing to task stylesheet