breaking out serial commands