Changed calling of external command to use the new ExternalCommand class. Need to add handling of timeout response.