Add set_quality