I just put everything in a zip file:
Profiling MCServer.zip (Size: 61.94 KB / Downloads: 265)
I hope it works correctly because the script didn't quite work for me so I had to do it manualy.

I hope it works correctly because the script didn't quite work for me so I had to do it manualy.