How do you make a flag blow in wind (Unity5)

I was wondering how you make a flag move in the wind in unity 5. I have the pole, flag and texture. I just can’t figure out to make it work. Obviously the flag needs to stay in place and the flag needs to ripple.

So far I have these components: Mesh filter, skinned mesh renderer and cloth.

In the cloth component, there is a global acceleration. The global acceleration has 3 modifiable values for each axis (x,y,z). You could, for example, make the x global acceleration any value high enough (either negative or positive) and then the flag would start looking like it was pulled by the wind. The rippling of the flag could be simulated by creating a script that would access the global acceleration, and then you and use Random.Range to create a fluctuation of the y acceleration.