Added completed flag to indicate whether or not the command has ever completed execution