Operation templates and scripts for QoS