Changed database table output to include command text.