Validate cmd line options in a task, and check for the right programs