Hello @kanokwan25310104 ,
I've tried to tune your post as you requested.
Please try following these steps:
1- Add coolant-off command to line 484:

2- Remove G90 code from line 512. This is the new edited line:

3- Add G04 code and move coolant command to lines 537 and 538, as shown below:

4- Remove coolant-off command from line 1523:

5- Add G90 command to the existing line 2757:

You should get an output very similar (not exactly identical, but working in my opinion) to what you requested.
Please test it carefully and let me know.