Quote:

How can we use this code ? Please explain it step by step...

Is this a joke?
If not, copy the code in your script and call
save_wmb();
That is all you have to do