Adding qos flag to script